Extract [O I] and O I lines

Library imports and data loading

Copied from the 02-01-Raman-Wings-IR-Source-C notebook:

Update 2021-05-4: Do the co-added cube as well

Use moments to extract the [O I] 6300 line

It looks like the possible symptoms of oversubtracted sky.

There is clearly a problem still with the fainter pixels. Witness the trend of sig with intensity. But theis is not so important for studying the brighter parts.

Now repeat for the co-added cube

This is way better than the sharp version

The other [O I] line: 6363

This time around, we will just work with the co-added cube

Use the same mask as we used for 6300

Other lines in the wav range: [S III] and Si II

The Si II lines

I will not re-run these for now because there is nothing to be gained for doing the co-added cube, since there is no strong diffuse component to any of them.

Si II 6347

Surprisingly, Si II 6371 has a diffuse component, but Si II 6347 does not No, that was just because we were contaminated by [O I] 6363. I have fixed that now.